package com.jc.auth.domain.convert;

import com.jc.auth.domain.entity.AuthUserBO;
import com.jc.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Description: 用户bo转化器
 * @Author: ASL_ly
 * @Package: com.jc.auth.application.convert
 * @Project: jc-club
 * @Date: 2024/10/28  22:48
 */
@Mapper
public interface AuthUserBOConverter {

    AuthUserBOConverter INSTANCE = Mappers.getMapper(AuthUserBOConverter.class);

    AuthUser convertBOToUser(AuthUserBO authUserBO);
    AuthUserBO convertUserToBO(AuthUser authUser);
}
